From: Florian Müllner Date: Fri, 29 Jan 2021 22:42:30 +0000 (+0100) Subject: iconGrid: Use correct default values in pspecs X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~491 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3ff71ac40e2136d74755f9f5bc17963cb53f4a3d;p=gnome-shell.git iconGrid: Use correct default values in pspecs The defaults are set in the code right now, but this is about to change. Part-of: --- diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 2e7b1bee2..beb01d758 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -266,7 +266,7 @@ var IconGridLayout = GObject.registerClass({ 'columns-per-page': GObject.ParamSpec.int('columns-per-page', 'Columns per page', 'Columns per page', GObject.ParamFlags.READWRITE, - 1, GLib.MAXINT32, 1), + 1, GLib.MAXINT32, 6), 'fixed-icon-size': GObject.ParamSpec.int('fixed-icon-size', 'Fixed icon size', 'Fixed icon size', GObject.ParamFlags.READWRITE, @@ -316,7 +316,7 @@ var IconGridLayout = GObject.registerClass({ 'rows-per-page': GObject.ParamSpec.int('rows-per-page', 'Rows per page', 'Rows per page', GObject.ParamFlags.READWRITE, - 1, GLib.MAXINT32, 1), + 1, GLib.MAXINT32, 4), }, Signals: { 'pages-changed': {},